package com.dyc.caradvertisting.ui.fmt.tab.store.gd;


import com.dyc.caradvertisting.bean.resp.GoodsD;
import com.njh.tools.base.BaseModel;
import com.njh.tools.base.BasePresenter;
import com.njh.tools.base.BaseView;

import rx.Observable;

/**
 * Home抽象类
 */
public interface GoodsDContract {
    interface Model extends BaseModel {
        /**
         * 用户登录接口
         * @param path
         * @param act
         * @param param
         * @param sign
         * @param strtime
         * @return
         */
       Observable reqGoodsDetails(String path,
                               String act,
                               String param,
                               String sign,
                               String strtime);
    }


    interface View extends BaseView {
        //初始化数据
        void initData(GoodsD goodsD);
        //关闭
      void finish();
    }

    abstract class Presenter extends BasePresenter<Model, View> {
         abstract void reqGoodsDetails(String param);
    }
}